SpeedLimitWidget

class SpeedLimitWidget(widgetPosition: WidgetPosition, marginLeft: Float, marginTop: Float, marginRight: Float, marginBottom: Float)

Widget to display a speed limit sign on the map.

Constructors

SpeedLimitWidget
Link copied to clipboard
fun SpeedLimitWidget(widgetPosition: WidgetPosition = WidgetPosition.BOTTOM_RIGHT, marginLeft: Float = 10f, marginTop: Float = 10f, marginRight: Float = 10f, marginBottom: Float = 50f)

Types

Companion
Link copied to clipboard
object Companion

Functions

clear
Link copied to clipboard
fun clear()
Resetting this will force a new call to viewWidgetHost.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
setEdgeInsets
Link copied to clipboard
fun setEdgeInsets(edgeInsets: EdgeInsets)
toString
Link copied to clipboard
open fun toString(): String
update
Link copied to clipboard
fun update(speedLimit: Int?, speed: Int)